#!/bin/sh

if [ "$(uname)"=="Darwin" ];then
  swift run -v -Xlinker -L/usr/local/lib
elif [ "$(expr substr $(uname -s) 1 5)" == "Linux" ]; then   
# GNU/Linux操作系统
  swift run -v -Xlinker -L/usr/lib/x86_64-linux-gnu
elif [ "$(expr substr $(uname -s) 1 10)" == "MINGW32_NT" ]; then    
# Windows NT操作系统
  swift run -v -Xlinker -L"D:\\workspace\\swift\\usr\\lib"
fi


